package org.jeecg.modules.htxincailiao.analytics.service.impl;

import org.jeecg.modules.htxincailiao.analytics.domain.vo.HTPlatformClientVisitDistributionVO;
import org.jeecg.modules.htxincailiao.analytics.domain.vo.HTPlatformUserVisitDistributionVO;
import org.jeecg.modules.htxincailiao.analytics.domain.vo.HTPlatformVisitInfoVO;
import org.jeecg.modules.htxincailiao.analytics.domain.vo.HTPlatformVisitStatisticsVO;
import org.jeecg.modules.htxincailiao.analytics.entity.HTPlatformVisitAction;
import org.jeecg.modules.htxincailiao.analytics.mapper.HTPlatformVisitActionMapper;
import org.jeecg.modules.htxincailiao.analytics.service.IHTPlatformVisitActionService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: ht_platform_visit_action
 * @Author: jeecg-boot
 * @Date:   2022-05-07 10:18:56
 * @Version: V1.0
 */
@Service
public class HTPlatformVisitActionServiceImpl extends ServiceImpl<HTPlatformVisitActionMapper, HTPlatformVisitAction> implements IHTPlatformVisitActionService {
    @Override
    public List<HTPlatformVisitInfoVO> getPVUVData(String beginTime, String endTime) {
        return baseMapper.queryPVUVData(beginTime, endTime);
    }

    @Override
    public HTPlatformVisitStatisticsVO getStatistics(String beginTime, String endTime) {
        return baseMapper.queryStatistics(beginTime, endTime);
    }

    @Override
    public List<HTPlatformUserVisitDistributionVO> getUserDistribution(String beginTime, String endTime) {
        return baseMapper.queryUserDistribution(beginTime, endTime);
    }

    @Override
    public List<HTPlatformClientVisitDistributionVO> getClientDistribution(String beginTime, String endTime) {
        return baseMapper.queryClientDistribution(beginTime, endTime);
    }
}
